package com.talos.framework.common.constant;

import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.time.ZoneOffset;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;

public interface SystemConstant {

    String NAME = "talos";

    String SUFFIX = "com";

    String BASE_PACKAGE = SUFFIX + "." + NAME;

    String MAPPER_PACKAGE = BASE_PACKAGE + ".**.mapper";

    Charset CHARSET = StandardCharsets.UTF_8;

    ZoneOffset TIMEZONE = ZoneOffset.of("+8");

    String LOG_TRACE_ID_NAME = "traceId";

    String PRIMARY_KEY_NAME = "`id`";

    String DISABLE_KEY_NAME = "`disabled_at`";

    Set<String> IGNORES_COLUMNS = new HashSet<>(Arrays.asList(
//            "id",
//            "create_time",
//            "modify_time",
//            "created_at",
//            "creator_id",
//            "creator_code",
//            "creator_name",
//            "modified_at",
//            "modifier_id",
//            "modifier_code",
//            "modifier_name",
//            "disabled_at",
//            "disabled_id",
//            "disabled_name",
//            "disabled_code",
//            "tenant_id"
    ));

}
